package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备10信息对象 device_info_10
 * 
 * @author ruoyi
 * @date 2024-08-24
 */
public class DeviceInfo10 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 温度 ℃ */
    @Excel(name = "温度 ℃")
    private Double temperature;

    /** PV温度 ℃ */
    @Excel(name = "PV温度 ℃")
    private Double pvTemperature;

    /** 风速 m/s */
    @Excel(name = "风速 m/s")
    private Double windSpeed;

    /** 风向 度 */
    @Excel(name = "风向 度")
    private Double windDirection;

    /** 日辐照量 MJ/㎡ */
    @Excel(name = "日辐照量 MJ/㎡")
    private Double radiantTotal;

    /** 辐照强度 W/㎡ */
    @Excel(name = "辐照强度 W/㎡")
    private Double radiantLine;

    /** 水平辐照强度 W/㎡ */
    @Excel(name = "水平辐照强度 W/㎡")
    private Double horizRadiantLine;

    /** 水平辐照量 MJ/㎡ */
    @Excel(name = "水平辐照量 MJ/㎡")
    private Double horizRadiantTotal;

    /** 状态（0：断连；1：连接）无 */
    @Excel(name = "状态", readConverterExp = "0=：断连；1：连接")
    private Long runState;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long devId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date collectTime;

    /** 记录创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTemperature(Double temperature) 
    {
        this.temperature = temperature;
    }

    public Double getTemperature() 
    {
        return temperature;
    }
    public void setPvTemperature(Double pvTemperature) 
    {
        this.pvTemperature = pvTemperature;
    }

    public Double getPvTemperature() 
    {
        return pvTemperature;
    }
    public void setWindSpeed(Double windSpeed) 
    {
        this.windSpeed = windSpeed;
    }

    public Double getWindSpeed() 
    {
        return windSpeed;
    }
    public void setWindDirection(Double windDirection) 
    {
        this.windDirection = windDirection;
    }

    public Double getWindDirection() 
    {
        return windDirection;
    }
    public void setRadiantTotal(Double radiantTotal) 
    {
        this.radiantTotal = radiantTotal;
    }

    public Double getRadiantTotal() 
    {
        return radiantTotal;
    }
    public void setRadiantLine(Double radiantLine) 
    {
        this.radiantLine = radiantLine;
    }

    public Double getRadiantLine() 
    {
        return radiantLine;
    }
    public void setHorizRadiantLine(Double horizRadiantLine) 
    {
        this.horizRadiantLine = horizRadiantLine;
    }

    public Double getHorizRadiantLine() 
    {
        return horizRadiantLine;
    }
    public void setHorizRadiantTotal(Double horizRadiantTotal) 
    {
        this.horizRadiantTotal = horizRadiantTotal;
    }

    public Double getHorizRadiantTotal() 
    {
        return horizRadiantTotal;
    }
    public void setRunState(Long runState) 
    {
        this.runState = runState;
    }

    public Long getRunState() 
    {
        return runState;
    }
    public void setDevId(Long devId) 
    {
        this.devId = devId;
    }

    public Long getDevId() 
    {
        return devId;
    }
    public void setCollectTime(Date collectTime) 
    {
        this.collectTime = collectTime;
    }

    public Date getCollectTime() 
    {
        return collectTime;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("temperature", getTemperature())
            .append("pvTemperature", getPvTemperature())
            .append("windSpeed", getWindSpeed())
            .append("windDirection", getWindDirection())
            .append("radiantTotal", getRadiantTotal())
            .append("radiantLine", getRadiantLine())
            .append("horizRadiantLine", getHorizRadiantLine())
            .append("horizRadiantTotal", getHorizRadiantTotal())
            .append("runState", getRunState())
            .append("devId", getDevId())
            .append("collectTime", getCollectTime())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
